package com.gscitysfy.cus.drain.modules.command.service;

import com.gscitysfy.cus.drain.modules.command.dto.ResourceDispatchDto;
import com.gscitysfy.cus.drain.modules.command.entity.InstructTeam;
import com.gscitysfy.cus.drain.modules.command.entity.InstructWarehouse;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 资源调度 服务类
 * </p>
 *
 * @author zhangqiang
 * @since 2022-11-16 19:09:16
 */
public interface InstructWarehouseService extends IService<InstructWarehouse> {
    /**
     * 级联资源调度
     *
     * @param dto
     * @return
     */
    Boolean saveBatch(ResourceDispatchDto dto);


    List<InstructWarehouse> fetchByDangerSituation(Long dangerSituationId);

    Boolean deleteBatch(List<Long> dangerSituationIdList);


}
